﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CoreRp
{
    public enum E_Roles
    {
        [RoleName("超级管理员","拥有所有权限的管理员")]
        SUPERADMIN,
        [RoleName("管理员","普通管理员，负责常规维护操作")]
        ADMIN,
        [RoleName("普通用户","最普通的用户，最基本的功能")]
        USER
    }
    public class RoleNameAttribute : Attribute
    {
        public RoleNameAttribute(string name,string remark)
        {
            this.name = name;
            this.remark = remark;
        }
        public string name { get; set; }
        public string remark { get; set; }

    }
}
